package cn.itsource.pethome.base.domain;

import lombok.Data;

@Data
public class ImgResult {
    //上面这个webUrl 是用来给前端浏览查看的图片
    private String webUrl;
    //这个url是用来保存到数据库的

    private String url;

    public ImgResult(String fullPath, String fullPath1) {
        this.webUrl = fullPath;
        this.url = fullPath1;
    }


    public String getWebUrl(){
        return "http://47.95.117.210:8888/"+this.webUrl ;
    }
}
